package com.patterns.chain;

/**
 * 请假条，包含请假的基本信息
 * @author huangke
 *
 */
public class LeaveRequest {
	private String name;//请假人
	private String empName;//请假人部门
	private Integer days;//请假天数
	private String reason;//请假原因
	public LeaveRequest(String name, String empName, Integer days, String reason) {
		System.out.println("员工:" + name + "要请假，部门:"+empName+"，请假天数:"+days+"，请假原因:"+reason+"，开始审批:");
		this.name = name;
		this.empName = empName;
		this.days = days;
		this.reason = reason;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmpName() {
		return empName;
	}
	public void setEmpName(String empName) {
		this.empName = empName;
	}
	public Integer getDays() {
		return days;
	}
	public void setDays(Integer days) {
		this.days = days;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
}
